package lvyoudi

import (
	"fmt"
)

func UseCX() {

	var diyu string
	fmt.Println("请输入地域")
	fmt.Scanln(&diyu)
	var jingqu string
	fmt.Println("请输入景区")
	fmt.Scanln(&jingqu)
	DI, JINDI, dataList := Sou(diyu, jingqu)
	fmt.Println("你查找的景区信息为：", DI, JINDI, dataList)
}

func Sou(diyu string, jingqu string) (DI string, JINDI string, dataList []string) {
	switch diyu {
	case "重庆":
		DI = "重庆"
		JINDI = "3个"
		dataList = append(dataList, "火锅", "麻辣烫", "米粉")
	case "北京":
		DI = "北京"
		JINDI = "2个"
		dataList = append(dataList, "北京烤鸭", "豆汁")
	}
	return
}
